package com.masterclient.app.businessmodule.minemodule.address.contract;

import com.eoner.baselib.presenter.FCBasePresenter;
import com.eoner.baselib.presenter.IFCBaseView;
import com.eoner.baselibrary.bean.address.AddressBean;

/**
 * 作者：sean
 * 创建时间：2017/7/31 20:35
 * 功能说明：
 */

public interface ManageAddressContract {

    interface View extends IFCBaseView {
        void getAddressSuccess(AddressBean.DataBean dataBean);
        void showDeleteSuccess();
        void showDeleteFailed();
        void changeDefaultSuccess();
        void changeDefaultfailed();
    }
    abstract static class Presenter extends FCBasePresenter<View> {

        public abstract void getAddressList();
        public abstract void deleteAddress(String id);
        public abstract void setAddressDefault(String id);
        
    }
}